#ifndef __EnemyController_H__ 
#define __EnemyController_H__ 

#include "cocos2d.h" 
#include "Player.h"
#include "Controller.h"
USING_NS_CC; 

class EnemyController : public Controller{
public:
	CREATE_FUNC(EnemyController);
	bool init();
	void changeDirection(float dt);
private:
	void update(float dt);
	float m_direction;
	bool m_stop;
	void fire(float dt);
	virtual void stop();
	CC_SYNTHESIZE(int, m_moveSpeed, Speed);
	CC_SYNTHESIZE(float, m_rotaSpeed, RotaSpeed);

}; 


#endif // __EnemyController_H__ 
